//
//  HWlibaozhongCollectionViewCell.m
//  HWanGame
//
//  Created by 陈道斌 on 2020/11/25.
//  Copyright © 2020 Chendaobin. All rights reserved.
//

#import "HWlibaozhongCollectionViewCell.h"

@implementation HWlibaozhongCollectionViewCell





- (instancetype)initWithFrame:(CGRect)frame {
    
    if (self = [super initWithFrame:frame]) {
        
        [self setUpUI];
        
    }
    
    
    return  self;
    
}


- (void)setUpUI {
    
    self.tupianicImageView = [[UIImageView alloc]initWithFrame:CGRectMake(30, 10, 52, 52)];
    self.tupianicImageView.backgroundColor = [UIColor clearColor];
    self.tupianicImageView.layer.cornerRadius = 8;
    self.tupianicImageView.layer.masksToBounds = YES;
    [self.contentView addSubview:self.tupianicImageView];
    
    
    
     UILabel *nameLabel1 = [[UILabel alloc]initWithFrame:CGRectMake( self.tupianicImageView.right+6, 11, 100, 22)];
              //     nameLabel.text = fanlilistArr[i];
       //  nameLabel.backgroundColor =  RGB(248, 119, 6);
         nameLabel1.backgroundColor = [UIColor clearColor];
         nameLabel1.textAlignment = NSTextAlignmentLeft;
         nameLabel1.font = [UIFont systemFontOfSize:14];
         nameLabel1.textColor = RGB(68, 68, 68);
    //     nameLabel.layer.cornerRadius = 8;
    //     nameLabel.layer.masksToBounds = YES;
         nameLabel1.text = @"普通礼包";
     self.mingchengLabel = nameLabel1;
    [self.contentView addSubview:self.mingchengLabel];
    
    
    
    
    
    
       UILabel *nameLabel2 = [[UILabel alloc]initWithFrame:CGRectMake( self.tupianicImageView.right+6, 11+22+7, 140, 22)];
                //     nameLabel.text = fanlilistArr[i];
         //  nameLabel.backgroundColor =  RGB(248, 119, 6);
           nameLabel2.backgroundColor = [UIColor clearColor];
           nameLabel2.textAlignment = NSTextAlignmentLeft;
           nameLabel2.font = [UIFont systemFontOfSize:12];
           nameLabel2.textColor = RGB(68, 68, 68);
      //     nameLabel.layer.cornerRadius = 8;
      //     nameLabel.layer.masksToBounds = YES;
           nameLabel2.text = @"礼包数：10";
            self.libaoshulian= nameLabel2;
       [self.contentView addSubview:self.libaoshulian];
      
    
    
    
    
    
        
     
  
    
    
    
    
}



@end
